<template>
  <div class="page">
    <h2>示例02 - 基本样式</h2>
    <vue-tabulation
      ref="grid"
      :dataSource="dataSource"
      :columns="columns"
      :height="500"
      :hasIndex="true"
      :hasCheckbox="true"
    ></vue-tabulation>
    <hr />
  </div>
</template>

<script>
export default {
  name: 'demo-style',
  data() {
    return {
      dataSource: this.$mock.dataSource(100),
      columns: this.$mock.columns(),
    }
  },
  methods: {},
}
</script>
